

package controller;

import BO.Iter.HocKyBO;
import BO.Iter.HocPhanBO;
import BO.Iter.KetQuaBO;
import BO.Iter.SinhVienBO;
import TableModel.Sinhvien;

/**
 *
 * @author vt
 */
public class SinhVienController {
    SinhVienBO svBO;
    HocPhanBO  hpBO;
    HocKyBO    hkBO;
    KetQuaBO   kqBO;
    
    Sinhvien   bean;

    public Sinhvien getBean() {
        return bean;
    }

    public void setBean(Sinhvien bean) {
        this.bean = bean;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public SinhVienBO getSvBO() {
        return svBO;
    }

    public void setSvBO(SinhVienBO svBO) {
        this.svBO = svBO;
    }
    //------------------------action----------------------------------------------------
    
    String id;
    public String actionEdit(){
        return "svedit";
    }
    public String actionCommitAdd(Sinhvien bean){
        return "sveshow";
    }
    public String actionAdd(){
        return "sveadd";
    }
    //-------------------------update database ---------------------------------------------------
    
}
